package com.ruoyi.contest.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据分析对象 t_analyze
 *
 * @author ruoyi
 * @date 2024-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_analyze")
public class TAnalyze extends BaseEntity
{
    /** 数据分析id */
    private Long analyzeId;

    /** 获奖等级 */
    @Excel(name = "获奖等级")
    private String awardGrade;

    /** 竞赛等级 */
    @Excel(name = "竞赛等级")
    private String grade;

    /** 学院id */
    @Excel(name = "学院id")
    private Long deptId;

    /** 学院名 */
    @Excel(name = "学院名")
    private String deptName;

    /** 竞赛级别 */
    @Excel(name = "竞赛级别")
    private String level;

    /** 获奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获奖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardDate;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("analyzeId", getAnalyzeId())
                .append("awardGrade", getAwardGrade())
                .append("grade", getGrade())
                .append("deptId", getDeptId())
                .append("deptName", getDeptName())
                .append("level", getLevel())
                .append("awardDate", getAwardDate())
                .toString();
    }
}
